package com.isdepci.project.carbon.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 绿化碳汇对应二氧化碳吸收因子参数对象 b_green_carbon_sink_parameter
 *
 * @author isdepci
 * @date 2025-03-29
 */
public class BGreenCarbonSinkParameter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 绿化类型 */
    @Excel(name = "绿化类型")
    private Integer greeningType;

    /** 吸收因子 */
    @Excel(name = "吸收因子")
    private BigDecimal absorptionFactor;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGreeningType(Integer greeningType)
    {
        this.greeningType = greeningType;
    }

    public Integer getGreeningType()
    {
        return greeningType;
    }
    public void setAbsorptionFactor(BigDecimal absorptionFactor)
    {
        this.absorptionFactor = absorptionFactor;
    }

    public BigDecimal getAbsorptionFactor()
    {
        return absorptionFactor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("greeningType", getGreeningType())
            .append("absorptionFactor", getAbsorptionFactor())
            .toString();
    }
}
